package com.jg.utils.reflex.en;



//@Logger
public class User extends Animal implements MyInterface{

    private String name;
    protected  Integer age;
    public String idNumber;

    public User(){

    }
    public User(String name , Integer age, String idNumber){
        this.name = name;
        this.age = age;
        this.idNumber = idNumber;
    }
    private User(String name){
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    protected Integer getAge() {
        return age;
    }

    protected void setAge(Integer age) {
        this.age = age;
    }

    private String getIdNumber() {
        return idNumber;
    }

    private void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Vehicle vehicle;

    public void method1() {
        System.out.println("接口实现方法！");
    }

    public static  class Bike{
        private String name;
    }
    private  static  class Clothes{
        private String name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", idNumber='" + idNumber + '\'' +
                '}';
    }
}
